package com.sumer.psychology.sharing.application.command;

import com.sumer.psychology.sharing.domain.model.SharedFile;
import com.sumer.psychology.tag.domain.model.Tag;

import java.util.Set;

/**
 * User: zhenguang.zhu
 * Date: 2014/9/10
 * Time: 10:43
 */
public class ChangeSharedResourceCommand {
    private String sharedResourceId;
    private String topic;
    private Set<SharedFile> sharedFiles;
    private Set<Tag> tags;

    public ChangeSharedResourceCommand(String sharedResourceId, String topic, Set<SharedFile> sharedFiles) {
        this.sharedResourceId = sharedResourceId;
        this.topic = topic;
        this.sharedFiles = sharedFiles;
    }

    public ChangeSharedResourceCommand(String sharedResourceId, String topic, Set<SharedFile> sharedFiles, Set<Tag> tags) {
        this(sharedResourceId, topic, sharedFiles);
        this.tags = tags;
    }

    public String sharedResourceId() {
        return sharedResourceId;
    }

    public String topic() {
        return topic;
    }

    public Set<SharedFile> sharedFiles() {
        return sharedFiles;
    }

    public Set<Tag> tags() {
        return tags;
    }
}
